<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒模型</title>
    <style>
        .box1,.box2,.box3{
            width: 200px;
            height: 200px;
            padding: 25px;
            border: 10px solid green;
            background: pink;
            margin: 100px;
        }
        /* 标准的状态 */
        .box2{
            box-sizing: content-box;
        }
        /* 怪异 */
        .box3{
            box-sizing: border-box;
        }
    </style>
</head>

<body>
    <div class="box1">标准盒模型</div>
    <div class="box2">标准盒模型</div>
    <div class="box3">IE盒模型</div>
</body>

</html>